package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.entity.DishEntity;
import com.sky.enumeration.DishStatusEnum;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void saveWithFlavor(DishDTO dishDTO);

    List<DishVO> page(Integer page, Integer size, DishStatusEnum statusEnum, Integer categoryId, String name);

    List<DishVO> getByCategoryId(Integer categoryId);

    DishVO getById(Integer id);

    void update(DishDTO dto);

    void enableOrDisable(DishStatusEnum statusEnum, Long id);

    void delBatch(List<Long> ids);

    List<DishVO> getByCategoryIdWithUser(DishVO dishVO);
}
